package com.bubblegumproject.ogo.remote.http;

import com.bubblegumproject.ogo.action.Action;
import com.sun.net.httpserver.HttpExchange;

import java.io.IOException;

/**
 * Encapsulates a strategy for parsing incoming HTTP requests into <code>Action</code>s.
 *
 * @author Azubuko Obele (buko.obele@gmail.com)
 */
public interface HttpRequestParser {

    public Action parse(HttpExchange httpExchange) throws IOException;
    
}
